package com.hrhr74.penguinstream.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrhr74.penguinstream.domain.dto.UserDTO;
import com.hrhr74.penguinstream.domain.po.User;
import com.hrhr74.penguinstream.domain.query.UserPageQuery;
import com.hrhr74.penguinstream.domain.vo.UserVO;
import com.hrhr74.penguinstream.utils.Result;

import java.util.List;

public interface IUserService extends IService<User> {
    Result register(UserDTO userDTO);

    Result sendCode(String phone);

    Result<List<UserPageQuery>> pageQueryUser(Integer pageNo, Integer pageSize,UserDTO userDTO);
}
